// mock 的核心文件
// 1. cnpm i -S mockjs
// 2. 伪造接口
// 3. mock/index.js  在main.js 注入一下
import Mock from 'mockjs'
import homedata from "./homedata";



Mock.mock(/\/home/,'get',homedata.gethomedata)
Mock.mock(/\/deleteone/,'post',homedata.deletehomedata)
Mock.mock(/\/deletemore/,'post',homedata.deletemoredata)
Mock.mock(/\/addone/,'post',homedata.addonedata)
Mock.mock(/\/editone/,'post',homedata.editonedata)